import Mock from 'mockjs'

const rows = [
    {
        "url": "meterFolder/page",
        method : 'get',
        "data": {
            "code": 0,
            "msg": "success",
            "data": {
                total : 100,
                data : [
                    {name : 'bilk', age : 111}
                ]
            }
        }
    },
]


rows.forEach(row => {
    Mock.mock(row.url, row.method, row.data)
})